package api.app;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONException;
import common.Host;
import common.Request;

public class ResvItemForm {
  public static String get(String formType, String token) throws JSONException,IOException{
	//拼接接口地址
	  String url = Host.getAddress()+"/api/ResvItemForm";
	  
	//接口参数赋值
	  Map<String, String> parms = new HashMap<String, String>();
	  parms.put("formType", formType);
	  
	//调用接口并返回接口结果
	  String result = Request.get(url,parms,token);
	  return result;
  }
}
